package com.ruibang.glass.quality.feign;

import com.teaming.cloud.framework2.common.model.ResultBody;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("glass-portal")
@Component
public interface PortalApi {
    @RequestMapping(value = "/api/dept/getManagerByDeptId/{deptId}",method = RequestMethod.GET)
    ResultBody<String> getManagerByDeptId(@PathVariable("deptId") String deptId);
}
